<div>
    <div class="form-group">
        <label class="control-label">Your name</label>
        <input type="text" id="input-name" class="form-control">
    </div>
    <button class="btn btn-warning">Put value in input</button>
    <p>
        Click on the above button to enable the "ok" button
    </p>
</div>
